package main;

import java.text.DecimalFormat;

public class KeywordStatisticsContainer {
//	For each of the ten selected keywords...
//	a) ...the total number of occurrences across all web page.
//	b) ...the average number of occurrences per web page.
	
	private String myKeyword;
	private int myTotalOccurences;
	private double myAvgOccurences;
	
	public KeywordStatisticsContainer(final String theKeyword, final int totalOccurences, 
			final double avgOccurences) {
		myKeyword = theKeyword;
		myTotalOccurences = totalOccurences;
		myAvgOccurences = avgOccurences;
	}

	public String getMyKeyword() {
		return myKeyword;
	}	
	
	public int getTotalOccurences() {
		return myTotalOccurences;
	}
	
	public double getAverageOccurences() {
		return myAvgOccurences;
	}
}
